// 查看
const mongoose = require('mongoose')
const usersSchema = new mongoose.Schema({
    // mongoose默认产生的字段，不需要展示
    __v: {
        type: Number,
        select: false
    },
    name: {
        type: String,
        required: true
    },
    password: {
        type: String,
        required: true
    },
    count: {
        type: Number
    }
}, {timestamps: true})
module.exports = mongoose.model('Views', usersSchema)
